package com.study.services;

import java.util.List;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSONObject;
import com.study.model.mdao.InstMapper;

@Service
@Transactional(rollbackOn = Exception.class)
public class InstService {
	@Autowired
	InstMapper iMapper;
	

	/**
	 * 根据采购单查询入情况
	 * @param schno
	 * @return 
	 * @return
	 */
	public List<JSONObject> selectInst(Integer schno) {
		return iMapper.findBysf(schno);
	}
	

}
